package com.cn.kehong.api;


import com.cn.kehong.domain.Department;
import com.cn.kehong.utils.QueryForm;

import java.util.List;

public interface IDepartmentService {

    List<Department> getDepartmentListTree(QueryForm queryForm)throws Exception;

    List<Department> queryDeptChooseList(String id)throws Exception;

    String addDeptDetail(Department department) throws Exception;

    String updateDeptDetail(Department department) throws Exception;

    String deleteDeptDetail(QueryForm queryForm) throws Exception;

    List<Department> getIdBydeptName(String cellValue) throws Exception;
}
